package com.hong.spring.controller;


import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther: csh
 * @Date: 2020/8/18 17:36
 * @Description:
 */
@Controller
@RequestMapping("/")
@Log4j2
public class IndexController {
    @RequestMapping
    public String index(){
        log.info("首页");
        return "index";
    }

}
